<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: DeleteCommand类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_delete_command.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="class_delete_command-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">DeleteCommand类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 DeleteCommand 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_delete_command.png" usemap="#DeleteCommand_map" alt=""/>
  <map id="DeleteCommand_map" name="DeleteCommand_map">
<area href="class_command.html" title="The abstract parent class of all the command classes. Commands are non-copyable." alt="Command" shape="rect" coords="0,0,103,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a8fadac20f0112e6602ae4cf0abaa8f39"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_delete_command.html#a8fadac20f0112e6602ae4cf0abaa8f39">DeleteCommand</a> (<a class="el" href="local_types_8h.html#ab119e5463fbd3af25e93c81bd306ae54">SelectionPtr</a> selection_ptr, <a class="el" href="local_types_8h.html#ab270fe8bf56ceef23c1c5fbe384c9430">CloudPtr</a> cloud_ptr)</td></tr>
<tr class="memdesc:a8fadac20f0112e6602ae4cf0abaa8f39"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor  <a href="class_delete_command.html#a8fadac20f0112e6602ae4cf0abaa8f39">更多...</a><br /></td></tr>
<tr class="separator:a8fadac20f0112e6602ae4cf0abaa8f39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd09e11a18912be628f5e9cc5758f581"><td class="memItemLeft" align="right" valign="top"><a id="abd09e11a18912be628f5e9cc5758f581"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_delete_command.html#abd09e11a18912be628f5e9cc5758f581">~DeleteCommand</a> ()</td></tr>
<tr class="memdesc:abd09e11a18912be628f5e9cc5758f581"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor <br /></td></tr>
<tr class="separator:abd09e11a18912be628f5e9cc5758f581"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_command"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_command')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_command.html">Command</a></td></tr>
<tr class="memitem:a641c23ef533dd6f77d0a4ef0311598b2 inherit pub_methods_class_command"><td class="memItemLeft" align="right" valign="top"><a id="a641c23ef533dd6f77d0a4ef0311598b2"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_command.html#a641c23ef533dd6f77d0a4ef0311598b2">~Command</a> ()</td></tr>
<tr class="memdesc:a641c23ef533dd6f77d0a4ef0311598b2 inherit pub_methods_class_command"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor <br /></td></tr>
<tr class="separator:a641c23ef533dd6f77d0a4ef0311598b2 inherit pub_methods_class_command"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a2dc9886c907bedee2e33023c4d297eaf"><td class="memItemLeft" align="right" valign="top"><a id="a2dc9886c907bedee2e33023c4d297eaf"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_delete_command.html#a2dc9886c907bedee2e33023c4d297eaf">execute</a> ()</td></tr>
<tr class="memdesc:a2dc9886c907bedee2e33023c4d297eaf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes the selected points and maintains a backup for undo. <br /></td></tr>
<tr class="separator:a2dc9886c907bedee2e33023c4d297eaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac53659eadd10cbc4d3ce9e7f9fac7f5f"><td class="memItemLeft" align="right" valign="top"><a id="ac53659eadd10cbc4d3ce9e7f9fac7f5f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_delete_command.html#ac53659eadd10cbc4d3ce9e7f9fac7f5f">undo</a> ()</td></tr>
<tr class="memdesc:ac53659eadd10cbc4d3ce9e7f9fac7f5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the deleted points to the cloud, Order is not preserved. <br /></td></tr>
<tr class="separator:ac53659eadd10cbc4d3ce9e7f9fac7f5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_command"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_command')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="class_command.html">Command</a></td></tr>
<tr class="memitem:a18df2d81039392daeb0b78c346a70537 inherit pro_methods_class_command"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_command.html#a18df2d81039392daeb0b78c346a70537">Command</a> ()</td></tr>
<tr class="memdesc:a18df2d81039392daeb0b78c346a70537 inherit pro_methods_class_command"><td class="mdescLeft">&#160;</td><td class="mdescRight">The default constructor.  <a href="class_command.html#a18df2d81039392daeb0b78c346a70537">更多...</a><br /></td></tr>
<tr class="separator:a18df2d81039392daeb0b78c346a70537 inherit pro_methods_class_command"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af06c78301f9782a47b838b619c4edfaf inherit pro_methods_class_command"><td class="memItemLeft" align="right" valign="top"><a id="af06c78301f9782a47b838b619c4edfaf"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_command.html#af06c78301f9782a47b838b619c4edfaf">hasUndo</a> () const</td></tr>
<tr class="memdesc:af06c78301f9782a47b838b619c4edfaf inherit pro_methods_class_command"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the command has an undo function. <br /></td></tr>
<tr class="separator:af06c78301f9782a47b838b619c4edfaf inherit pro_methods_class_command"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:a7235724e203e44d352b4b0b6e675d044"><td class="memItemLeft" align="right" valign="top"><a id="a7235724e203e44d352b4b0b6e675d044"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_delete_command.html#a7235724e203e44d352b4b0b6e675d044">DeleteCommand</a> ()</td></tr>
<tr class="memdesc:a7235724e203e44d352b4b0b6e675d044"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor - object is not default constructable <br /></td></tr>
<tr class="separator:a7235724e203e44d352b4b0b6e675d044"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae155ae9296da4c872d9f82a9bee9b3e"><td class="memItemLeft" align="right" valign="top"><a id="aae155ae9296da4c872d9f82a9bee9b3e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_delete_command.html#aae155ae9296da4c872d9f82a9bee9b3e">DeleteCommand</a> (const <a class="el" href="class_delete_command.html">DeleteCommand</a> &amp;c)</td></tr>
<tr class="memdesc:aae155ae9296da4c872d9f82a9bee9b3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor - commands are non-copyable <br /></td></tr>
<tr class="separator:aae155ae9296da4c872d9f82a9bee9b3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab72d9d8f4e4a5b6605ddd47b671d79a8"><td class="memItemLeft" align="right" valign="top"><a id="ab72d9d8f4e4a5b6605ddd47b671d79a8"></a>
<a class="el" href="class_delete_command.html">DeleteCommand</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_delete_command.html#ab72d9d8f4e4a5b6605ddd47b671d79a8">operator=</a> (const <a class="el" href="class_delete_command.html">DeleteCommand</a> &amp;)</td></tr>
<tr class="memdesc:ab72d9d8f4e4a5b6605ddd47b671d79a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Equal operator - commands are non-copyable <br /></td></tr>
<tr class="separator:ab72d9d8f4e4a5b6605ddd47b671d79a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:ac6a75897311eab4a7c34ac5496be46bc"><td class="memItemLeft" align="right" valign="top"><a id="ac6a75897311eab4a7c34ac5496be46bc"></a>
<a class="el" href="local_types_8h.html#ab270fe8bf56ceef23c1c5fbe384c9430">CloudPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_delete_command.html#ac6a75897311eab4a7c34ac5496be46bc">cloud_ptr_</a></td></tr>
<tr class="memdesc:ac6a75897311eab4a7c34ac5496be46bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">a pointer pointing to the cloud <br /></td></tr>
<tr class="separator:ac6a75897311eab4a7c34ac5496be46bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca95c72434af3b472258d8a7873dac11"><td class="memItemLeft" align="right" valign="top"><a id="aca95c72434af3b472258d8a7873dac11"></a>
<a class="el" href="local_types_8h.html#ab119e5463fbd3af25e93c81bd306ae54">SelectionPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_delete_command.html#aca95c72434af3b472258d8a7873dac11">selection_ptr_</a></td></tr>
<tr class="memdesc:aca95c72434af3b472258d8a7873dac11"><td class="mdescLeft">&#160;</td><td class="mdescRight">A shared pointer pointing to the selection object. <br /></td></tr>
<tr class="separator:aca95c72434af3b472258d8a7873dac11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7bad2258bfec8c17b4a523776e9c6f2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_selection.html">Selection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_delete_command.html#ab7bad2258bfec8c17b4a523776e9c6f2">deleted_selection_</a></td></tr>
<tr class="separator:ab7bad2258bfec8c17b4a523776e9c6f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4c16ec16f977168bd04f9af44d71683"><td class="memItemLeft" align="right" valign="top"><a id="ab4c16ec16f977168bd04f9af44d71683"></a>
<a class="el" href="class_copy_buffer.html">CopyBuffer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_delete_command.html#ab4c16ec16f977168bd04f9af44d71683">deleted_cloud_buffer_</a></td></tr>
<tr class="memdesc:ab4c16ec16f977168bd04f9af44d71683"><td class="mdescLeft">&#160;</td><td class="mdescRight">a copy buffer which backs up the points deleted from the cloud. <br /></td></tr>
<tr class="separator:ab4c16ec16f977168bd04f9af44d71683"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pro_attribs_class_command"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_command')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="class_command.html">Command</a></td></tr>
<tr class="memitem:a6524158d3dd197cef746c64cd0e079e0 inherit pro_attribs_class_command"><td class="memItemLeft" align="right" valign="top"><a id="a6524158d3dd197cef746c64cd0e079e0"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_command.html#a6524158d3dd197cef746c64cd0e079e0">has_undo_</a></td></tr>
<tr class="memdesc:a6524158d3dd197cef746c64cd0e079e0 inherit pro_attribs_class_command"><td class="mdescLeft">&#160;</td><td class="mdescRight">a flag indicates whether the command has an undo function. <br /></td></tr>
<tr class="separator:a6524158d3dd197cef746c64cd0e079e0 inherit pro_attribs_class_command"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">构造及析构函数说明</h2>
<a id="a8fadac20f0112e6602ae4cf0abaa8f39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8fadac20f0112e6602ae4cf0abaa8f39">&#9670;&nbsp;</a></span>DeleteCommand()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DeleteCommand::DeleteCommand </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="local_types_8h.html#ab119e5463fbd3af25e93c81bd306ae54">SelectionPtr</a>&#160;</td>
          <td class="paramname"><em>selection_ptr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="local_types_8h.html#ab270fe8bf56ceef23c1c5fbe384c9430">CloudPtr</a>&#160;</td>
          <td class="paramname"><em>cloud_ptr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">selection_ptr</td><td>A shared pointer pointing to the selection object. </td></tr>
    <tr><td class="paramname">cloud_ptr</td><td>A shared pointer pointing to the cloud object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="ab7bad2258bfec8c17b4a523776e9c6f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7bad2258bfec8c17b4a523776e9c6f2">&#9670;&nbsp;</a></span>deleted_selection_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_selection.html">Selection</a> DeleteCommand::deleted_selection_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>a selection which backs up the index of the deleted points in the original cloud. </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>apps/point_cloud_editor/include/pcl/apps/point_cloud_editor/<a class="el" href="delete_command_8h_source.html">deleteCommand.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_delete_command.html">DeleteCommand</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
